package com.sz.biz.logistics.serialno.constants;

import com.sz.common.base.exception.ErrorCode;

/**
 * Package: com.sz.biz.logistics.channel<br>
 * Description: 渠道单号错误编码<br>
 * @author WuHan<br>
 * @date 2017-12-07 16:52<br>
 * @serial
 * @since ${TAG}
 */
public interface BillNumberErrorCodes {
    /**
     *
     */
    ErrorCode ERROR_CHANNEL_NOT_RULES = new ErrorCode(140000, "error.channel.not.rules");
    ErrorCode ERROR_CHANNEL_RULE_FORMATRULE_EMPTY=new ErrorCode(140001,"error.channel.rule.format.rule.empty");
    ErrorCode ERROR_CHANNEL_RULE_SERIALNUMBER_EMPTY=new ErrorCode(140002,"error.channel.rule.serialnumber.empty");
    ErrorCode ERROR_CHANNEL_RULE_SERVICE_NOT_EXIST=new ErrorCode(140003,"error.channel.rule.service.not.exist");
    ErrorCode ERROR_CHANNEL_BATCH_NUMBER_ERROR=new ErrorCode(140004,"error.channel.batch.number.error");
    ErrorCode ERROR_CHANNEL_GENERATE_THRESHOLD_ERROR=new ErrorCode(140005,"error.channel.generate.threshold.error");
    ErrorCode ERROR_CHANNEL_RULES_NOT_FOUND_ERROR=new ErrorCode(140006,"error.channel.rules.not.found.error");
    ErrorCode ERROR_CHANNEL_RULES_NOT_DISABLED = new ErrorCode(140007, "error.channel.rules.not.disabled");
    ErrorCode ERROR_CHANNEL_RULE_DETAIL_NOT_EXIST = new ErrorCode(140008, "error.channel.rule.detail.not.exist");
    ErrorCode ERROR_CHANNEL_RULE_BATCH_GREATER_THAN_THRESHOLD =new ErrorCode(140009, "error.channel.rule.batch.greater.than.threshold");
    ErrorCode ERROR_CHANNEL_RULE_WARNING_THRESHOLD_NOT_BE_NEGATIVE=new ErrorCode(140010,"error.channel.rule.warn.threshold.not.negative");
    ErrorCode ERROR_CHANNEL_IMPORT_EXCEL_LEAST_ONE_PAGE=new ErrorCode(140011,"error.channel.import.excel.least.one.page");

    ErrorCode ERROR_CHANNEL_IMPORT_EXCEL_MAX_NUMBER = new ErrorCode(140012 , "error.channel.import.excel.max.number");
    ErrorCode ERROR_CHANNEL_RULE_START_FINISH_LENGTH_ERROR = new ErrorCode(140013 , "error.channel.rule.start.finish.length.error");
    ErrorCode ERROR_CHANNEL_RULE_START_TO_END_MUST_NUMBERS = new ErrorCode(140014 , "error.channel.rule.start.end.number");
    ErrorCode ERROR_CHANNEL_RULE_LEAST_ONE = new ErrorCode(140015 , "error.channel.rule.least.one");
    ErrorCode ERROR_CHANNEL_RULE_UPDATE_STATUS_ENABLE = new ErrorCode(140016 , "error.channel.rule.update.status.enable");
    ErrorCode ERROR_CHANNEL_RULE_TELEPHONE_ERROR= new ErrorCode(140017,"error.channel.rule.tel.error");
    ErrorCode ERROR_CHANNEL_RULE_EMAIL_ERROR= new ErrorCode(140017,"error.channel.rule.email.error");
    ErrorCode ERROR_CHANNEL_RULE_FORMAT_ERROR = new ErrorCode(140018,"error.channel.rule.format.error");
    ErrorCode ERROR_CHANNEL_RULE_PATTERN_LENGTH_MISMATCH = new ErrorCode(140019, "error.channel.no.pattern.length.mismatch");
    ErrorCode ERROR_CHANNEL_RULE_DIGIT_VARIETY_ERROR = new ErrorCode(140020, "error.channel.rule.digit.variety.error");
    ErrorCode ERROR_CHANNEL_RULE_VERIFY_RULE_EMPTY_ERROR= new ErrorCode(140021,"error.channel.rule.verify.rule.empty");
    ErrorCode ERROR_CHANNEL_RULE_SERIAL_NUMBER_NOT_CONTAIN_WILD_CARD= new ErrorCode(140022,"error.channel.rule.serial.not.contain.wildcard");
    ErrorCode ERROR_CHANNEL_RULE_VERIFY_POSITION_DISLOCATED = new ErrorCode(140023, "error.channel.rule.verify.position.dislocated");
    ErrorCode ERROR_CHANNEL_RULE_WILDCARDS_NOT_SUPPORTED = new ErrorCode(140024, "error.channel.rule.wildcards.not.supported");
    ErrorCode ERROR_CHANNEL_RULE_PATTERN_MARGIN_INVALID = new ErrorCode(140025, "error.channel.rule.pattern.margin.invalid");
    ErrorCode ERROR_CHANNEL_RULE_NO_POSTFIX_FOUND = new ErrorCode(140026, "error.channel.rule.no.postfix.found");
    ErrorCode ERROR_CHANNEL_RULE_PATTERN_FORMAT_MISMATCH = new ErrorCode(140027, "error.channel.rule.pattern.format.mismatch");
    ErrorCode ERROR_WAYBILL_RULE_PRODUCT_GROUP_EMPTY= new ErrorCode(140028,"error.waybill.rule.product.group.empty");
    ErrorCode ERROR_RULE_PARITY_RULE_NOT_SATISFIED=new ErrorCode(140029,"error.rule.parity.rule.not.satisfied");
    ErrorCode ERROR_RULE_PARITY_RULE_INVALID=new ErrorCode(140029,"error.rule.parity.rule.invalid");
    
    
    ErrorCode ERROR_WAYBILL_NUMBER_WRONG_LENGTH = new ErrorCode(140050, "error.waybill.number.wrong.length");
    ErrorCode ERROR_WAYBILL_NUMBER_PATTERN_LENGTH_MISMATCH = new ErrorCode(140051, "error.waybill.number.pattern.length.mismatch");
    ErrorCode ERROR_WAYBILL_NUMBER_NOT_CONTAIN_VERIFYCODE = new ErrorCode(140052, "error.waybill.number.not.contain.verifycode");
    ErrorCode ERROR_WAYBILL_NUMBER_EMPTY_ARGUMENT = new ErrorCode(140053, "error.waybill.number.empty.argument");
    ErrorCode ERROR_WAYBILL_NUMBER_VERIFYCODE_DISLOCATE = new ErrorCode(140054, "error.waybill.number.verifycode.dislocate");
    ErrorCode ERROR_WAYBILL_NUMBER_REGEX_MISMATCH = new ErrorCode(140055, "error.waybill.number.regex.mismatch");

    ErrorCode ERROR_RULE_SERIAL_NUMBER_NOT_MATCH_FORMAT=new ErrorCode(140056,"error.rule.serial.number.not.match" +
            ".format");

    ErrorCode ERROR_RULE_PREFIX_ERROR=new ErrorCode(140057,"error.rule.prefix.error");

    ErrorCode ERROR_RULE_DETAIL_CREATE_METHOD_ERROR = new ErrorCode(140058,"error.rule.detail.create.method.error");
}
